/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.shop.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.shop.entity.MemberRank;
import com.thinkgem.jeesite.modules.shop.dao.MemberRankDao;

/**
 * 会员等级管理Service
 * @author xxs
 * @version 2016-03-03
 */
@Service
@Transactional(readOnly = true)
public class MemberRankService extends CrudService<MemberRankDao, MemberRank> {

	public MemberRank get(String id) {
		return super.get(id);
	}
	
	public List<MemberRank> findList(MemberRank memberRank) {
		return super.findList(memberRank);
	}
	
	public Page<MemberRank> findPage(Page<MemberRank> page, MemberRank memberRank) {
		return super.findPage(page, memberRank);
	}
	
	@Transactional(readOnly = false)
	public void save(MemberRank memberRank) {
		super.save(memberRank);
	}
	
	@Transactional(readOnly = false)
	public void delete(MemberRank memberRank) {
		super.delete(memberRank);
	}
	
}